<template>
  <div class="tableData-wrap">
    <div class="child">
      <slot :data="data"></slot>
      <slot></slot>
    </div>
  </div>
</template>

<script lang="ts">
  import { Component, Vue, Prop } from "vue-property-decorator"

  @Component({})

  export default class TableData extends Vue {
    data:string[] = [
      'zhangsan','lisi','wanwu','zhaoliu','tianqi','xiaoba'
    ]
    created() {
    }
  }
</script>

<style lang="scss" scoped>
  @import "@/assets/scss/variables";

  .tableData-wrap {
    width: 100%;
  }
</style>

